package com.ruoyi.common.core.domain.vo;

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.ExcelDictFormat;
import com.ruoyi.common.annotation.OssUrl;
import com.ruoyi.common.annotation.UserMemberInfo;
import com.ruoyi.common.convert.ExcelDictConvert;
import lombok.Data;

import java.util.Date;


/**
 * 房屋踏查视图对象 duty_tc
 *
 * @author xiaohao
 * @date 2023-01-19
 */
@Data
@ExcelIgnoreUnannotated
public class DutyTcVo {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @ExcelProperty(value = "主键")
    private Long tcId;

    private Long placeId;

    private Long memberId;

    @UserMemberInfo
    public Object getMemberInfo() {
        return memberId;
    }

    private String imgIn;

    @OssUrl
    public Object getImgInDetail() {
        return imgIn;
    }

    private String imgOut;

    @OssUrl
    public Object getImgOutDetail() {
        return imgOut;
    }

    private String tcResult;

    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd")
    private Date tcTime;


}
